﻿--|--------------------------------------------------------------------------------
--| [DeleteGame] - Update Procedure Script for Game
--|--------------------------------------------------------------------------------
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id (N'[dbo].[DeleteGame]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1) 
	DROP PROCEDURE [dbo].[DeleteGame]
GO

CREATE PROCEDURE [dbo].[DeleteGame]
(
	@ID int
)
AS
	SET NOCOUNT ON

	DELETE 
	FROM   [Game]
	WHERE  
		[ID] = @ID

	RETURN @@Error
GO

 